import request from "./request";

export const dinweiApi = () => request.get('/api/city/location', {
          params: {
                    key: '07e54ffb9d2dfaf8f7fdae8f5e1c6e2d'
          }
})

export const listApi = () => request.get('/api/city')

export const sousuoApi = (kw) => request.get('/api/city/search', {
          params: {
                    kw
          }
})

export const xqyApi = (id, data) => request.get(`/api/trip/train/${id}`, {
          params: data
})